﻿using Gzh.DAL.Models;
using Gzh.Lib;
using Gzh.Model;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Gzh.BLL.Infrastructure
{
    /// <summary>
    /// ${table.comment}
    /// </summary>
    public interface I${ClassName}Contract
    {
        //列表
        JArray Page(int page, int rows, ref int total, ref int records);

        //详情
        JObject GetInfoById(long id);

        //添加
        OperationResult AddInfo(${TableName} data);

        //修改
        OperationResult UpdateInfo(${TableName} data);

        //删除
        OperationResult DeleteById(long id, long operatorId);

    }
}
